<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="${pageContext.request.contextPath}/img/user2-160x160.jpg"
                     class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p>admin</p>
                <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
            </div>
        </div>

        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">菜单</li>
            <li id="admin-index"><a
                    href="${pageContext.request.contextPath}/pages/main.jsp"><i
                    class="fa fa-dashboard"></i> <span>首页</span></a></li>

            <li class="treeview"><a href="#"> <i class="fa fa-cogs"></i>
                <span>系统管理</span> <span class="pull-right-container"> <i
                        class="fa fa-angle-left pull-right"></i>
				</span>


            </a>
                <ul class="treeview-menu">

                    <%--					<c:forEach items="${sessionScope.permission}" var="perm">--%>
                    <%--						<li id="system-setting"><a--%>
                    <%--								href="${perm.url}"> <i--%>
                    <%--								class="fa fa-circle-o"></i> ${perm.name}--%>
                    <%--						</a></li>--%>
                    <%--					</c:forEach>--%>


                    <li id="system-setting"><a
                            href="${pageContext.request.contextPath}/store/showStoreAndCar"> <i
                            class="fa fa-circle-o"></i> 门店管理
                    </a></li>
                        <li id="system-setting"><a
                                href="${pageContext.request.contextPath}/order/selectAll"> <i
                                class="fa fa-circle-o"></i> 订单管理
                        </a></li>
                        <li id="system-setting"><a
                                href="${pageContext.request.contextPath}/pages/store-add.jsp"> <i
                                class="fa fa-circle-o"></i> 添加门店
                        </a></li>
                        <li id="system-setting"><a
                                href="${pageContext.request.contextPath}/pages/car-add.jsp"> <i
                                class="fa fa-circle-o"></i> 添加车辆
                        </a></li>
                        <li id="system-setting"><a
                                href="${pageContext.request.contextPath}/pages/maintain-show.jsp"> <i
                                class="fa fa-circle-o"></i> 保养车辆
                        </a></li>
                    <li id="system-setting"><a
                            href="${pageContext.request.contextPath}/sysLog/findAll"> <i
                            class="fa fa-circle-o"></i> 访问日志
                    </a></li>

                </ul>
            </li>
            <li class="treeview"><a href="#"> <i class="fa fa-cube"></i>
                <span>基础数据</span> <span class="pull-right-container"> <i
                        class="fa fa-angle-left pull-right"></i>
				</span>
            </a>
                <ul class="treeview-menu">


                    <li id="system-setting1"><a
                            href="${pageContext.request.contextPath}/crm/getMyInfo"> <i
                            class="fa fa-circle-o"></i> 我的信息
                    </a>
                    <li id="system-setting2"><a
                            href="${pageContext.request.contextPath}/crm/orderCar"> <i
                            class="fa fa-circle-o"></i> 开始下单
                    </a></li>
                    <li id="system-setting3"><a
                            href="${pageContext.request.contextPath}/storeAttention/followlist"> <i
                            class="fa fa-circle-o"></i> 查看关注用户
                    </a></li>
                    <li id="system-setting3"><a
                            href="${pageContext.request.contextPath}/storeAttention/getAttentionStoreComment"> <i
                            class="fa fa-circle-o"></i> 查看关注用户商店评论
                    </a></li>
                    <li id="system-setting4"><a
                            href="${pageContext.request.contextPath}/storeAttention/showAllCrm"> <i
                            class="fa fa-circle-o"></i> 查看其他用户
                    </a></li>
                    <li id="system-setting"><a
                            href="${pageContext.request.contextPath}/order/selectStoreCommentByStoreId"> <i
                            class="fa fa-circle-o"></i> 门店评论
                    </a></li>
                    <li id="system-setting"><a
                            href="${pageContext.request.contextPath}/order/carComment"> <i
                            class="fa fa-circle-o"></i> 车评论
                    </a></li>

                </ul>
            </li>

        </ul>
    </section>
    <!-- /.sidebar -->
</aside>